<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:fn="http://java.sun.com/jsp/jstl/functions"
      xmlns:c="http://java.sun.com/jsp/jstl/core">
<h:head>
	<title>Register</title>
</h:head> 
<body> 
<h:form >
	<f:facet name="header">
		<h:outputText value="Форма за регистрация" />
	</f:facet>
	<h:message for="value"/>
	<h:panelGrid columns="2">
		<h:outputText value="Personal id:" />
		<h:inputText value="#{register.userId}" />
		<h:outputText value="User Name: " />
		<h:inputText value="#{register.userName}" />
		<h:outputText value="Password:" />
		<h:inputText value="#{register.userPassword}" />
	</h:panelGrid>
	<h:commandButton value="Register" action="#{register.register()}" type="submit"/>
</h:form>
</body> 
</html>
